package com.kaili.basic.mapper;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.kaili.basic.pojo.entity.BaseCarrier;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BaseCarrierMapper {

    void addCarrier(BaseCarrier carrier);

    void deleteCarrier(Long carrierId);

    void updateCarrier(BaseCarrier carrier);

    List<BaseCarrier> queryCarrier(Pagination page, BaseCarrier carrier);

    List<BaseCarrier> queryCarrier(BaseCarrier carrier);

    String getCarrierCode();
}
